<?php 
    include("header.php");
?>

<head>
    <title>Liga - Survey</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="assets/css/default.css" rel="stylesheet" type="text/css">

    <style type="text/css">
        @import "/assets/js/dojo-release-1.1.0/dijit/themes/tundra/tundra.css";
        @import "/assets/js/dojo-release-1.1.0/dojo/resources/dojo.css"
    </style>
    
    <script type="text/javascript" src="/assets/js/dojo-release-1.1.0/dojo/dojo.js"
      djConfig="parseOnLoad: true"></script>
    
    <script type="text/javascript">
        dojo.require("dojox.charting.widget.Chart2D");
        dojo.require("dojox.charting.themes.PlotKit.orange");
        dojo.require("dojox.charting.themes.PlotKit.blue");
        dojo.require("dojox.charting.themes.PlotKit.green");
        dojo.require("dojox.data.HtmlTableStore");
     
        seriesB = [2.6, 1.8, 2, 1, 1.4, 0.7, 2];
     
        dojo.require("dojo.parser");
    </script>

</head>

<?php 
    setTabIndex(1);
    createBody("default");
    
    $user = $_SESSION['user'];
    
?>

<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0" bgcolor="#FFFFFF">

    <tr>
        <td id="leftFiller" valign="top" height="100%" rowspan="3" bgcolor="#006633">
            <table border="0" cellpadding="0" cellspacing="0" height="100%" width="8px">
                <tr><td>&nbsp;</td></tr>
            </table>
        </td>
        <td id="header" valign="top" width="100%">
            <table border="0" width="100%" cellpadding="3" cellspacing="0" bgcolor="#10425b">
                <tr>
                    <td bgcolor="#006633" width="70%">
                        <?php include("inc_title.html"); ?>
                    </td>
                    <td bgcolor="#006633" align="right">&nbsp;
                    <?php
                        if (isset($user)) {
                    ?>
                        <a href="insert_news_form.php"><img src="assets/images/16x16/add.gif" border="0" alt="Voeg nieuwsbericht toe"></a>
                        &nbsp;&nbsp;
                    <?php
                        }
                    ?>
                    </td>
                </tr>
            </table>
            <table align="center" border="0" width="100%" height="90%" cellpadding="0" cellspacing="0" style="border-top:#BCDD10 4px solid;">
                <tr>
                    <?php include("inc_sublinks.html"); ?>   
                </tr>
                <tr><td colspan="3" nowrap bgcolor="#BCDD10" height="4"><img src="/assets/images/spacer.gif" alt="" height="1" width="1"></td></tr>
                <tr>
                    <td>&nbsp;</td>
                    <td width="90%" valign="top">
                        <div dojoType="dojox.charting.widget.Chart2D" 
                            style="width: 300px; height: 300px;">
                          <div class="axis" name="x" 
                            font="italic normal normal 8pt Tahoma"></div>
                          <div class="axis" name="y" vertical="true" 
                            fixUpper="major" includeZero="true" 
                            font="italic normal normal 8pt Tahoma"></div>
                          <div class="plot" name="default" type="Areas"></div>
                          <div class="plot" name="grid" type="Grid"></div>
                          <div class="series" name="Series A" 
                             data="1, 2, 0.5, 1.5, 1, 2.8, 0.4"></div>
                          <div class="series" name="Series B" array="seriesB"></div>
                          <div class="series" name="Series C" 
                            store="tableStore" valueFn="Number(x)"></div>
                        </div>    
                    </td>
                    <td width="5%">&nbsp;</td> 
                </tr>
            </table>
        </td>
    </tr>
</table>

<?php include("footer.php") ?>